package drone.facade.model.entity.auth ;

import java.io.Serializable ;
import java.util.Date ;
import java.math.BigDecimal ;
import drone.facade.model.entity.BaseEntity ;
import drone.basis.meta.EntityMeta ;
import drone.basis.meta.FieldMeta ;

@EntityMeta ( name = "角色" , description = "角色" , table = "auth_role" , alias = "_auth_role" , assign = false , foreign = false , visible = true , order = 1 , version = "1.0" )
public class AuthRoleEntity extends BaseEntity implements Serializable
{

	private static final long serialVersionUID = 1L ;

	public enum AuthRoleField
	{
		rolNo ( "_auth_role.rol_no" ) ,
		rolName ( "_auth_role.rol_name" ) ,
		rolVersion ( "_auth_role.rol_version" ) ,
		rolDesc ( "_auth_role.rol_desc" ) ,
		rolState ( "_auth_role.rol_state" ) ,
		rolCreater ( "_auth_role.rol_creater" ) ,
		rolDate ( "_auth_role.rol_date" ) ,
		rolSort ( "_auth_role.rol_sort" ) ,
		rolRemark ( "_auth_role.rol_remark" ),;

		private String name ;

		private AuthRoleField (
				String name
		)
		{
			this.name = name ;
		}

		public String getName ( )
		{
			return name ;
		}

		public void setName (
				String name
		)
		{
			this.name = name ;
		}
	}

	@FieldMeta ( primary = true , name = "角色编号" , description = "角色编号" , column = "rol_no" , require = true , range = true , vague = false , visible = true , length = 32 , order = 1 )
	private String rolNo ;

	public String getRolNo ( )
	{
		return rolNo ;
	}

	public void setRolNo (
			String rolNo
	)
	{
		this.rolNo = rolNo ;
	}

	@FieldMeta ( primary = false , name = "角色名称" , description = "角色名称" , column = "rol_name" , require = true , range = false , vague = true , visible = true , length = 50 , order = 2 )
	private String rolName ;

	public String getRolName ( )
	{
		return rolName ;
	}

	public void setRolName (
			String rolName
	)
	{
		this.rolName = rolName ;
	}

	@FieldMeta ( primary = false , name = "版本号" , description = "版本号" , column = "rol_version" , require = true , range = false , vague = false , visible = true , length = 50 , order = 3 )
	private String rolVersion ;

	public String getRolVersion ( )
	{
		return rolVersion ;
	}

	public void setRolVersion (
			String rolVersion
	)
	{
		this.rolVersion = rolVersion ;
	}

	@FieldMeta ( primary = false , name = "描述信息" , description = "描述信息" , column = "rol_desc" , require = true , range = false , vague = false , visible = true , length = 500 , order = 4 )
	private String rolDesc ;

	public String getRolDesc ( )
	{
		return rolDesc ;
	}

	public void setRolDesc (
			String rolDesc
	)
	{
		this.rolDesc = rolDesc ;
	}

	@FieldMeta ( primary = false , name = "状态" , description = "状态" , column = "rol_state" , require = true , range = false , vague = false , visible = true , length = 1 , order = 5 )
	private String rolState ;

	public String getRolState ( )
	{
		return rolState ;
	}

	public void setRolState (
			String rolState
	)
	{
		this.rolState = rolState ;
	}

	@FieldMeta ( primary = false , name = "创建人" , description = "创建人" , column = "rol_creater" , require = true , range = false , vague = false , visible = true , length = 50 , order = 6 )
	private String rolCreater ;

	public String getRolCreater ( )
	{
		return rolCreater ;
	}

	public void setRolCreater (
			String rolCreater
	)
	{
		this.rolCreater = rolCreater ;
	}

	@FieldMeta ( primary = false , name = "创建日期" , description = "创建日期" , column = "rol_date" , require = true , range = true , vague = false , visible = true , length = 0 , order = 7 )
	private Date rolDate ;

	public Date getRolDate ( )
	{
		return rolDate ;
	}

	public void setRolDate (
			Date rolDate
	)
	{
		this.rolDate = rolDate ;
	}

	@FieldMeta ( primary = false , name = "排序" , description = "排序" , column = "rol_sort" , require = true , range = false , vague = false , visible = true , length = 0 , order = 8 )
	private BigDecimal rolSort ;

	public BigDecimal getRolSort ( )
	{
		return rolSort ;
	}

	public void setRolSort (
			BigDecimal rolSort
	)
	{
		this.rolSort = rolSort ;
	}

	@FieldMeta ( primary = false , name = "备注" , description = "备注" , column = "rol_remark" , require = true , range = false , vague = false , visible = true , length = 500 , order = 9 )
	private String rolRemark ;

	public String getRolRemark ( )
	{
		return rolRemark ;
	}

	public void setRolRemark (
			String rolRemark
	)
	{
		this.rolRemark = rolRemark ;
	}

}
